home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / udev / rules.d / README < prev   
Text File  |  2009-11-03  |  1KB  |  41 lines

  1. The files in this directory are read by udev(7) and used when events
  2. are performed by the kernel.  The udev daemon watches this directory
  3. with inotify so that changes to these files are automatically picked
  4. up, for this reason they must be files and not symlinks to another
  5. location as in the case in Debian.
  6.  
  7. These are not conffiles.  If you want to override the behaviour, you
  8. can do one of two things:
  9.  
  10.  1) Write your own rules in /etc/udev/rules.d that assign the name,
  11.     symlinks, permissions, etc. that you want.  Pick a number higher
  12.     than the rules you want to override, and yours will be used.
  13.  
  14.  2) Copy the file to /etc/udev/rules.d and edit it there; you
  15.     should generally only do this if you want to prevent a program
  16.     from being run.
  17.  
  18.  
  19. Files should be named xx-descriptive-name.rules, the xx should be
  20. chosen first according to the following sequence points:
  21.  
  22.  < 60  rules shipped in packages; these can be overriden by later or
  23.        default rules unless := is used in assignment.
  24.  
  25.        these cannot access persistent information such as that from
  26.        blkid
  27.  
  28.  < 70  rules that run helpers such as blkid to populate the udev db
  29.  
  30.  < 90  rules that run other programs (often using information in the
  31.        udev db)
  32.  
  33.  >=90  rules that should run last
  34.  
  35. Common locations for package rules:
  36.  
  37.  40-xx general rules, setting names and permissions
  38.  65-xx rules to populate the udev db
  39.  85-xx rules to run programs
  40.  
  41.